package net.zoneland.zrdp.framework.web.domain.uniflow;

import lombok.Data;

import java.io.Serializable;

/**
 * 待办待阅发送邮件.
 *
 * @version v1.0
 * @author YTG
 */
@Data
public class TaskCommonPojo implements Serializable {

    private static final long serialVersionUID = 5674786157629873581L;

    /** 流程模板编码. **/
    private String templateId;

    /** 流程模板名称. **/
    private String templateName;

    /** 流程编码. **/
    private String piid;

    /** 工单编号. **/
    private String applyId;

    /** 工单名称. **/
    private String applyTitle;


    /** 流程节点编码. **/
    private String nodeId;

    /** 流程节点名称. **/
    private String nodeName;

    public TaskCommonPojo(TaskEmailPojo pojo){
        this.templateId = pojo.getTemplateId();
        this.templateName = pojo.getTemplateName();
        this.piid = pojo.getPiid();
        this.applyId = pojo.getApplyId();
        this.applyTitle = pojo.getApplyTitle();
        this.nodeId = pojo.getNodeId();
        this.nodeName = pojo.getNodeName();
    }
}
